package game;

public class Card {
	private Suit cardSuit;
	private Rank cardRank;
	private boolean bJoker;
	private Player owner;
	
	public Card(Suit cardSuit, Rank cardRank) {
		this.cardSuit = cardSuit;
		this.cardRank = cardRank;
		if (cardRank == Rank.UNDEFINED)
			bJoker = true;
		else
			bJoker = false;
	}
	public Suit getCardSuit() {
		return cardSuit;
	}
	public Rank getCardRank() {
		return cardRank;
	}
	public boolean isJoker() {
		return bJoker;
	}
	public Player getOwner() {
		return owner;
	}
	public void setOwner(Player playerOwner) {
		owner = playerOwner;
	}
}
